﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace STF.Blog.Model
{
    /// <summary>
    /// 等级表
    /// </summary>
    public class Level:BaseEntity
    {
        [Required(ErrorMessage = "{0}不能为空")]
        [StringLength(50), Column(TypeName = "varchar(50)")]
        [Display(Name = "等级名称")]
        public string Title { get; set; }

        [StringLength(100), Column(TypeName = "varchar(100)")]
        [Display(Name = "等级描述")]
        public string Details { get; set; }
    }
}
